import random

class Horse:
  def __init__(self, n, s):
    self.name = n
    self.speed = s
    self.loc = 0

  def run(self):
    self.loc += round(self.speed * random.random())
    print(f"{self.name} has run {self.loc} minters!")
